package org.example.commerce.api.beans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 下订单时 订单 请求参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderItemInfo implements Serializable {
    //饮品id
    private Long id;
    //商品价格
    private BigDecimal price;
    //商品数量
    private Integer number;
    //
    private BigDecimal itemTotal;
}
